<script setup lang="ts">
defineProps(['text']);

defineEmits(['click']);
</script>

<template>
  <view
    class="flex flex-center mt-4 mb-8 border border-solid border-green rounded-full"
    :style="{
      width: '630rpx',
      height: '100rpx'
    }"
    @click="$emit('click')"
  >
    <view class="mr-1 text-base text-primary">
      {{ text }}
    </view>
    <uni-icons color="#269c74" size="16" type="arrow-right"></uni-icons>
  </view>
</template>
